package com.kuzlak.cms.module.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kuzlak.cms.module.sys.entity.SysAddress;

import java.util.List;
import java.util.Map;

/**
* @author hesenjan
* @description 针对表【sys_address(地区信息表)】的数据库操作Service
* @createDate 2024-11-30 23:46:05
*/
public interface SysAddressService extends IService<SysAddress> {

    List<Map<String, Object>> findByTreeList(long id, int level);

    List<SysAddress> finbyIdList(long id);

    boolean deleteById(long id);
}
